package cn.softcits.thread.even2;

/**
 * @author Rocket
 * @version 10.0.1
 * @date 2021-07-04 9:17 PM
 */
public class PrintTest {

    public static void main(String[] args) {
        PrintNumber pn = new PrintNumber();
        new Thread(new PrintEvenRunner(pn), "PrintEven").start();
        new Thread(new PrintOddRunner(pn), "PrintOdd").start();

        System.out.println("finished");
    }
}
